require "watir"

browser = Watir::Browser.start  "http://www.shermanstravel.com/luxury/"
browser.text_field(:id, "txtNewsletterSignupEmail").set("zhangxmbxy@hotmail.com")
browser.button(:src,"http://i.stcdn.net/btn_signmeup_light_orange.jpg").click
browser.text_field(:id, "lux_my_zip").set("10025")
browser.checkbox(:id, "si_1").set
browser.checkbox(:id, "si_9").set
browser.text_field(:id, "lux_city").set("ny")
browser.text_field(:id, "lux_addr_two").set("APT 3e")
browser.text_field(:id, "lux_addr_one").set("219 W 100")
browser.select_list(:id, "people_address_state_or_territory").set("NJ")
browser.select_list(:id, "people_address_state_or_territory").set("NY")
browser.text_field(:id, "lux_zip").set("10024")
browser.select_list(:id, "people_address_country_id").set("Tuvalu")
browser.select_list(:id, "people_address_country_id").set("United States")
browser.text_field(:id, "lux_phone").set("347-226-1816-1")
browser.text_field(:id, "lux_phone").set("347-226-1816")
browser.checkbox(:id, "magazine_checkbox").set
browser.button(:value,"Submit").click
#browser.checkbox(:name, "BillMeLater").set
